package org.jeecg.modules.device.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;

/**
 * @Description: 水库信息表
 * @Author: jeecg-boot
 * @Date:   2024-04-17
 * @Version: V1.0
 */
@Data
@TableName("iot_dev_reservoir_info")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="iot_dev_reservoir_info对象", description="水库信息表")
public class DevReservoirInfo implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty(value = "主键")
    private java.lang.String id;
	/**水库编号*/
	@Excel(name = "水库编号", width = 15)
    @ApiModelProperty(value = "水库编号")
    private java.lang.String code;
	/**水库名称*/
	@Excel(name = "水库名称", width = 15)
    @ApiModelProperty(value = "水库名称")
    private java.lang.String name;
	/**水库类型*/
	@Excel(name = "水库类型", width = 15)
    @Dict(dicCode = "reservoir_type")
    @ApiModelProperty(value = "水库类型")
    private java.lang.String type;
	/**水库图片*/
	@Excel(name = "水库图片", width = 15)
    @ApiModelProperty(value = "水库图片")
    private java.lang.String pic;
	/**坝型*/
	@Excel(name = "坝型", width = 15, dicCode = "reservoir_dam_type")
	@Dict(dicCode = "reservoir_dam_type")
    @ApiModelProperty(value = "坝型")
    private java.lang.String damType;
	/**水库高度*/
	@Excel(name = "水库高度", width = 15)
    @ApiModelProperty(value = "水库高度")
    private java.lang.String height;
	/**面积*/
	@Excel(name = "面积", width = 15)
    @ApiModelProperty(value = "面积")
    private java.lang.String area;
	/**当前水位*/
	@Excel(name = "当前水位", width = 15)
    @ApiModelProperty(value = "当前水位")
    private java.lang.String currentWaterLevel;
	/**正常水位*/
	@Excel(name = "正常水位", width = 15)
    @ApiModelProperty(value = "正常水位")
    private java.lang.String normalWaterLevel;
	/**讯限水位*/
	@Excel(name = "讯限水位", width = 15)
    @ApiModelProperty(value = "讯限水位")
    private java.lang.String limitWaterLevel;
	/**当前库容*/
	@Excel(name = "当前库容", width = 15)
    @ApiModelProperty(value = "当前库容")
    private java.lang.String currentStorageCapacity;
	/**正常库容*/
	@Excel(name = "正常库容", width = 15)
    @ApiModelProperty(value = "正常库容")
    private java.lang.String normalStorageCapacity;
	/**讯限库容*/
	@Excel(name = "讯限库容", width = 15)
    @ApiModelProperty(value = "讯限库容")
    private java.lang.String limitStorageCapacity;
	/**所在镇*/
	@Excel(name = "所在镇", width = 15)
    @ApiModelProperty(value = "所在镇")
    private java.lang.String affiliatedTown;
	/**具体地址*/
	@Excel(name = "具体地址", width = 15)
    @ApiModelProperty(value = "具体地址")
    private java.lang.String specificAddress;
    //经度
    private java.lang.String longitude;
    //纬度
    private java.lang.String latitude;
	/**管理员*/
	@Excel(name = "管理员", width = 15)
    @ApiModelProperty(value = "管理员")
    private java.lang.String adminName;
	/**管理员手机*/
	@Excel(name = "管理员手机", width = 15)
    @ApiModelProperty(value = "管理员手机")
    private java.lang.String adminPhone;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private java.util.Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private java.lang.String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private java.util.Date updateTime;
	/**删除标识*/
	@Excel(name = "删除标识", width = 15)
    @ApiModelProperty(value = "删除标识")
    @TableLogic
    private java.lang.Integer delFlag;
	/**租户*/
	@Excel(name = "租户", width = 15)
    @ApiModelProperty(value = "租户")
    private java.lang.String tenantId;
}
